// --------------------------------------------------------------------------------------------------------------------
// <copyright file="PropertyInfoWithIndex.cs" company="JDML Consulting Ltd.">
//   Copyright 2011 Photon Project - http://photon.codeplex.com
// </copyright>
// <summary>
//   Defines the PropertyInfoWithIndex type.
// </summary>
// --------------------------------------------------------------------------------------------------------------------

namespace Photon.ComponentModel.Modelling
{
    using System.Reflection;

    internal class PropertyInfoWithIndex
    {
        public int Index { get; private set; }
        public PropertyInfo PropertyInfo { get; private set; }

        internal PropertyInfoWithIndex(int index, PropertyInfo propertyInfo)
        {
            Index = index;
            PropertyInfo = propertyInfo;
        }
    }
}